/**
 * Default benchmark configuration
 */
export const defaultConfig = {
  // Duration of the benchmark in seconds
  duration: 10,
  
  // Number of concurrent connections
  connections: 10,
  
  // Number of requests per connection
  pipelining: 1,
  
  // Timeout for requests in seconds
  timeout: 5,
  
  // Whether to print progress to stdout
  printProgress: true,
  
  // Number of actors to spawn for actor-based tests
  actorCount: 100
};

/**
 * Load configuration options
 * @param overrides - Override default configuration
 * @returns Complete configuration with defaults and overrides
 */
export function loadConfig(overrides: Partial<typeof defaultConfig> = {}) {
  return {
    ...defaultConfig,
    ...overrides
  };
} 